package com.ruoyi.hospital.domain.order;

import java.math.BigDecimal;

import com.ruoyi.common.core.domain.NewBaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 售后订单对象 shop_order_after
 * 
 * @author wendao
 * @date 2024-09-14
 */
public class ShopOrderAfter extends NewBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 订单 */
    private Long orderId;
    @Excel(name = "订单编号")
    private String orderNumber;
    private Integer orderTime;
    @Excel(name = "商品名称")
    private String drugName;
    @Excel(name = "患者信息")
    private String memberName;
    @Excel(name = "患者电话")
    private String phone;
    @Excel(name = "所属药店")
    private String storeName;
    private Integer drugId;  //药品ID

    /** 退单号 */
    @Excel(name = "退单号")
    private String afterNumber;

    /** 退款金额 */
    @Excel(name = "退款金额")
    private BigDecimal refundAmount;

    /** 实付金额 */
    @Excel(name = "实付金额")
    private BigDecimal actualAmount;

    /** 售后类型 */
    @Excel(name = "售后类型",dictType = "after_type")
    private Long afterType;

    /** 处理状态 */
    @Excel(name = "处理状态",dictType = "after_state")
    private Long afterState;

    /** 删除时间 */
    private Long deleteTime;

    /** 所属药店*/
    private Integer storeId;

    /*配送方式*/
    private Integer deliveryMethod;

    //退货的发货方式
    private Integer afterDeliveryMethod;
    //退货的快递单号
    private String afterTransportNo;

    public Integer getDrugId() {
        return drugId;
    }

    public void setDrugId(Integer drugId) {
        this.drugId = drugId;
    }

    public Integer getAfterDeliveryMethod() {
        return afterDeliveryMethod;
    }

    public void setAfterDeliveryMethod(Integer afterDeliveryMethod) {
        this.afterDeliveryMethod = afterDeliveryMethod;
    }

    public String getAfterTransportNo() {
        return afterTransportNo;
    }

    public void setAfterTransportNo(String afterTransportNo) {
        this.afterTransportNo = afterTransportNo;
    }

    public Integer getDeliveryMethod() {
        return deliveryMethod;
    }

    public void setDeliveryMethod(Integer deliveryMethod) {
        this.deliveryMethod = deliveryMethod;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public Integer getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Integer orderTime) {
        this.orderTime = orderTime;
    }

    public String getDrugName() {
        return drugName;
    }

    public void setDrugName(String drugName) {
        this.drugName = drugName;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setAfterNumber(String afterNumber) 
    {
        this.afterNumber = afterNumber;
    }

    public String getAfterNumber() 
    {
        return afterNumber;
    }
    public void setRefundAmount(BigDecimal refundAmount) 
    {
        this.refundAmount = refundAmount;
    }

    public BigDecimal getRefundAmount() 
    {
        return refundAmount;
    }
    public void setActualAmount(BigDecimal actualAmount) 
    {
        this.actualAmount = actualAmount;
    }

    public BigDecimal getActualAmount() 
    {
        return actualAmount;
    }
    public void setAfterType(Long afterType) 
    {
        this.afterType = afterType;
    }

    public Long getAfterType() 
    {
        return afterType;
    }
    public void setAfterState(Long afterState) 
    {
        this.afterState = afterState;
    }

    public Long getAfterState() 
    {
        return afterState;
    }
    public void setDeleteTime(Long deleteTime) 
    {
        this.deleteTime = deleteTime;
    }

    public Long getDeleteTime() 
    {
        return deleteTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("afterNumber", getAfterNumber())
            .append("refundAmount", getRefundAmount())
            .append("actualAmount", getActualAmount())
            .append("afterType", getAfterType())
            .append("afterState", getAfterState())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("deleteTime", getDeleteTime())
            .append("remark", getRemark())
            .toString();
    }
}
